home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / DELPHI / PRTREP.ZIP / REPSRC.ZIP / REPDEM03.DFM / REPDEM03.txt
Encoding:
Text File  |  1996-09-17  |  5.7 KB  |  238 lines

  1. object dem03form: Tdem03form
  2.   Left = 90
  3.   Top = 402
  4.   Width = 613
  5.   Height = 409
  6.   ActiveControl = Panel1
  7.   Caption = 'dem03form'
  8.   Font.Color = clBlack
  9.   Font.Height = -14
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   Position = poScreenCenter
  13.   OnCreate = FormCreate
  14.   PixelsPerInch = 120
  15.   TextHeight = 16
  16.   object Panel1: TPanel
  17.     Left = 0
  18.     Top = 0
  19.     Width = 605
  20.     Height = 89
  21.     Align = alTop
  22.     TabOrder = 0
  23.     object Label1: TLabel
  24.       Left = 20
  25.       Top = 12
  26.       Width = 370
  27.       Height = 19
  28.       Caption = 'This is a Demo of the TPrintGridReport Component'
  29.       Color = clBtnFace
  30.       Font.Color = clMaroon
  31.       Font.Height = -17
  32.       Font.Name = 'Arial'
  33.       Font.Style = []
  34.       ParentColor = False
  35.       ParentFont = False
  36.     end
  37.     object Label2: TLabel
  38.       Left = 20
  39.       Top = 36
  40.       Width = 260
  41.       Height = 19
  42.       Caption = 'and SubTotals and Calcutated fields'
  43.       Color = clBtnFace
  44.       Font.Color = clMaroon
  45.       Font.Height = -17
  46.       Font.Name = 'Arial'
  47.       Font.Style = []
  48.       ParentColor = False
  49.       ParentFont = False
  50.     end
  51.     object Label3: TLabel
  52.       Left = 20
  53.       Top = 60
  54.       Width = 415
  55.       Height = 19
  56.       Caption = 'Note: The printer is forced to print Landscape Orientation'
  57.       Color = clBtnFace
  58.       Font.Color = clMaroon
  59.       Font.Height = -17
  60.       Font.Name = 'Arial'
  61.       Font.Style = []
  62.       ParentColor = False
  63.       ParentFont = False
  64.     end
  65.     object Preview: TBitBtn
  66.       Left = 420
  67.       Top = 12
  68.       Width = 109
  69.       Height = 29
  70.       Caption = 'Pre&View'
  71.       TabOrder = 0
  72.       OnClick = PreviewClick
  73.     end
  74.     object Exit: TBitBtn
  75.       Left = 440
  76.       Top = 44
  77.       Width = 89
  78.       Height = 33
  79.       Caption = '&Exit'
  80.       ModalResult = 1
  81.       TabOrder = 1
  82.     end
  83.   end
  84.   object Panel2: TPanel
  85.     Left = 0
  86.     Top = 89
  87.     Width = 605
  88.     Height = 293
  89.     Align = alClient
  90.     BevelInner = bvLowered
  91.     BorderWidth = 4
  92.     Caption = 'Panel2'
  93.     TabOrder = 1
  94.     object DBGrid1: TDBGrid
  95.       Left = 6
  96.       Top = 6
  97.       Width = 593
  98.       Height = 281
  99.       Align = alClient
  100.       BorderStyle = bsNone
  101.       DataSource = DataSource1
  102.       Font.Color = clPurple
  103.       Font.Height = -13
  104.       Font.Name = 'Arial'
  105.       Font.Style = []
  106.       ParentFont = False
  107.       TabOrder = 0
  108.       TitleFont.Color = clBlue
  109.       TitleFont.Height = -13
  110.       TitleFont.Name = 'Arial'
  111.       TitleFont.Style = [fsBold]
  112.     end
  113.   end
  114.   object Query1: TQuery
  115.     Active = True
  116.     OnCalcFields = Query1CalcFields
  117.     DatabaseName = 'DBDEMOS'
  118.     SQL.Strings = (
  119.       'Select'
  120.       '  parts."PartNo",'
  121.       '  parts."VendorNo",'
  122.       '  parts."Description",'
  123.       '  parts."OnHand",'
  124.       '  parts."OnOrder",'
  125.       '  parts."Cost",'
  126.       '  parts."ListPrice"'
  127.       'From "parts.db"'
  128.       'As parts'
  129.       'order by'
  130.       'VendorNo')
  131.     Left = 260
  132.     Top = 5
  133.     object Query1PartNo: TFloatField
  134.       DisplayWidth = 7
  135.       FieldName = 'PartNo'
  136.     end
  137.     object Query1VendorNo: TFloatField
  138.       FieldName = 'VendorNo'
  139.       Visible = False
  140.     end
  141.     object Query1Description: TStringField
  142.       DisplayWidth = 23
  143.       FieldName = 'Description'
  144.       Size = 30
  145.     end
  146.     object Query1OnHand: TFloatField
  147.       DisplayWidth = 7
  148.       FieldName = 'OnHand'
  149.     end
  150.     object Query1OnOrder: TFloatField
  151.       DisplayWidth = 7
  152.       FieldName = 'OnOrder'
  153.     end
  154.     object Query1ListPrice: TCurrencyField
  155.       DisplayWidth = 9
  156.       FieldName = 'ListPrice'
  157.       DisplayFormat = '$ #,##0.00'
  158.     end
  159.     object Query1Cost: TCurrencyField
  160.       DisplayWidth = 6
  161.       FieldName = 'Cost'
  162.       DisplayFormat = '$ #,##0.00'
  163.     end
  164.     object Query1OnOrderValue: TCurrencyField
  165.       Calculated = True
  166.       DisplayWidth = 10
  167.       FieldName = 'OnOrderValue'
  168.       DisplayFormat = '$ #,##0.00'
  169.     end
  170.     object Query1OnHandValue: TCurrencyField
  171.       Calculated = True
  172.       DisplayWidth = 12
  173.       FieldName = 'OnHandValue'
  174.       DisplayFormat = '$ #,##0.00'
  175.     end
  176.   end
  177.   object DataSource1: TDataSource
  178.     DataSet = Query1
  179.     Left = 287
  180.     Top = 5
  181.   end
  182.   object PrintGridReport1: TPrintGridReport
  183.     About = 'Version 5.27'
  184.     ViewButtonVisible = False
  185.     OutputTo = poViewer
  186.     Orientation = Default
  187.     ViewBkColor = 11234567
  188.     Units = poInches
  189.     ViewHeading = 'Reportit Viewer'
  190.     FooterFont.Color = clWindowText
  191.     FooterFont.Height = 12
  192.     FooterFont.Name = 'Arial'
  193.     FooterFont.Style = []
  194.     HeaderFont.Color = clWindowText
  195.     HeaderFont.Height = 16
  196.     HeaderFont.Name = 'Arial'
  197.     HeaderFont.Style = []
  198.     ViewerOptions = []
  199.     SubTotalString = '** SubTotal of @RecCount Orders **'
  200.     TotalString = '*** Total of @RecCount Orders ***'
  201.     ZoomPercentage = 100.000000000000000000
  202.     HeaderTop = 0.500000000000000000
  203.     HeaderStringCenter = 'Page Header'
  204.     HeaderEnabled = True
  205.     HeaderOutlined = True
  206.     HeaderFilled = False
  207.     FooterTop = 9.250000000000000000
  208.     FooterString = 'Page Footer'
  209.     FooterEnabled = True
  210.     FooterOutlined = True
  211.     FooterFilled = True
  212.     FooterStringLeft = 'Printed on @Date at @Time'
  213.     FooterStringRight = 'Page @Page'
  214.     DisableControls = True
  215.     BorderLeft = 0.250000000000000000
  216.     BorderRight = 0.250000000000000000
  217.     GridHeadingRow = 1.500000000000000000
  218.     GridHeadingCol = 0.250000000000000000
  219.     GridHeadingEnabled = True
  220.     GridHeadingOutlined = True
  221.     GridHeadingFilled = False
  222.     GridLines = True
  223.     LineSpacing = 1.500000000000000000
  224.     Grid = DBGrid1
  225.     GridMinWidth = True
  226.     GridCentered = True
  227.     GridPrintTotal = True
  228.     PrintSubTotals = True
  229.     FrameStyleLeft = frSingleThin
  230.     FrameStyleTop = frSingleThin
  231.     FrameStyleRight = frSingleThin
  232.     FrameStyleBottom = frSingleThin
  233.     ReportStyle = rsMiddle
  234.     Left = 352
  235.     Top = 36
  236.   end
  237. end
  238.